﻿using System;

namespace ConsoleApplication1 {
    class Yeehaa {
        private double[] dict = new double[101]; 
        private int i=1;
        public void calc(double R, int n) {
            if (dict[n] == 0)
                dict[n] = Math.Sin(Math.PI / n);
            double r = (dict[n] * R / (dict[n] + 1));
            Console.WriteLine("Scenario #{0}:\n{1:0.000}\n", i++, r);

        }
    }
}
